package com.qingke.OMS.Pojo;

import java.util.List;

public class OrdersCart {
	private int orderCode;
	private String create_time;
	private double total;

	private int customerCode;
	private String customerName;
	private String customerAddress;
	private String customertelephone;
	private int userId;

	private List<OrderItem> orderItem;

	public OrdersCart() {
		super();
	}

	public OrdersCart(int orderCode, String create_time, double total, int customerCode, String customerName,
			String customerAddress, String customertelephone, int userId, List<OrderItem> orderItem) {
		super();
		this.orderCode = orderCode;
		this.create_time = create_time;
		this.total = total;
		this.customerCode = customerCode;
		this.customerName = customerName;
		this.customerAddress = customerAddress;
		this.customertelephone = customertelephone;
		this.userId = userId;
		this.orderItem = orderItem;
	}

	public int getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(int orderCode) {
		this.orderCode = orderCode;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public int getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(int customerCode) {
		this.customerCode = customerCode;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCustomerAddress() {
		return customerAddress;
	}

	public void setCustomerAddress(String customerAddress) {
		this.customerAddress = customerAddress;
	}

	public String getCustomertelephone() {
		return customertelephone;
	}

	public void setCustomertelephone(String customertelephone) {
		this.customertelephone = customertelephone;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public List<OrderItem> getOrderItem() {
		return orderItem;
	}

	public void setOrderItem(List<OrderItem> orderItem) {
		this.orderItem = orderItem;
	}

	@Override
	public String toString() {
		return "OrdersCart [orderCode=" + orderCode + ", create_time=" + create_time + ", total=" + total
				+ ", customerCode=" + customerCode + ", customerName=" + customerName + ", customerAddress="
				+ customerAddress + ", customertelephone=" + customertelephone + ", userId=" + userId + ", orderItem="
				+ orderItem + "]";
	}
	
	

	

}
